﻿using System.Collections.Generic;
using System.Web.Mvc;
using DTTB.MV2.QUANLYNHANSUTIENLUONG.Models.FormBean.Base;
using DTTB.DTO;
using Webdiyer.WebControls.Mvc;

namespace DTTB.MV2.QUANLYNHANSUTIENLUONG.Models.FormBean.PhanQuyen
{
    public class DepartmentsForm : FormBase<DepartmentsDto>, IForm<DepartmentsDto>
    {
        /// <summary>
        /// Gets or sets DepartmentsDto List.
        /// </summary>
        public IList<DepartmentsDto> DepartmentsDtoList { get; set; }

        /// <summary>
        /// Gets or sets IdDepartmment.
        /// </summary>
        public System.String IdDepartmment { get; set; }
        
        /// <summary>
        /// Gets or sets JobTitle.
        /// </summary>
        public System.String DepartmentName { get; set; }

        /// <summary>
        /// Gets or sets Description.
        /// </summary>
        public System.String DepartmentDesc { get; set; }
        
        /// <summary>
        /// Gets or sets IdChief.
        /// </summary>
        public System.Int32 IdChief { get; set; }

        /// <summary>
        /// Gets or sets CreateDate.
        /// </summary>
        public System.DateTime CreateDate { get; set; }

        /// <summary>
        /// Gets or sets UpdateDate.
        /// </summary>
        public System.DateTime UpdateDate { get; set; }

        /// <summary>
        /// Gets or sets CreateBy.
        /// </summary>
        public System.Int32 CreateBy { get; set; }

        /// <summary>
        /// Gets or sets UpdateBy.
        /// </summary>
        public System.Int32 UpdateBy { get; set; }

        /// <summary>
        /// Gets or sets IsDelete.
        /// </summary>
        public System.Boolean IsDelete { get; set; }
        
        /// <summary>
        /// Gets or sets Chief.
        /// </summary>
        public System.String Chief { get; set; }

        //Extend
        public string CreateByUser { get; set; }
        public string UpdateByUser { get; set; }
        public bool DepartmentNameReadOnly { get; set; }
        public string DepartmentID { get; set; }
        public int PageNumber { get; set; }

        //Search
        public SelectList TieuChiSearchDropDownList { get; set; } // selectlist các tiêu chí search nhân viên
        public int TieuChiSearch { get; set; } //tiêu chí search nhân viên
        public string GiaTriSearch { get; set; } //giá trị search nhân viên


        public IList<UsersDto> IdChiefList { get; set; }

        //extend paging
        public PagedList<DepartmentsDto> DepartmentsPagedList { get; set; }

        //thông báo
        public string MessageCreateDepartments { get; set; }

        public string MessageEditDepartments { get; set; }
       
    }
}
